package com.example.orderfood2.entity;

public class Student {
    private Integer id;
    private String username;
    private String password;
    private String sex;
    private String classId;
    private String score;
    private String date;
    private String enrol;

    public Student(Integer id, String username, String password, String sex, String classId, String score, String date, String enrol) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.classId = classId;
        this.score = score;
        this.date = date;
        this.enrol = enrol;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getEnrol() {
        return enrol;
    }

    public void setEnrol(String enrol) {
        this.enrol = enrol;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", classId='" + classId + '\'' +
                ", score='" + score + '\'' +
                ", date='" + date + '\'' +
                ", enrol='" + enrol + '\'' +
                '}';
    }
}
